setOverScrollMode

open fun setOverScrollMode(view: View, overScrollMode: Int)(source)

Deprecated

Call setOverScrollMode directly. This method will be removed in a future release.

Set the over-scroll mode for this view. Valid over-scroll modes are OVER_SCROLL_ALWAYS (default), OVER_SCROLL_IF_CONTENT_SCROLLS (allow over-scrolling only if the view content is larger than the container), or OVER_SCROLL_NEVER. Setting the over-scroll mode of a view will have an effect only if the view is capable of scrolling.

Parameters

view

The View against which to invoke the method.

overScrollMode

The new over-scroll mode for this view.